package com.ys.fmms.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.ys.fmms.pojo.Role;

import java.util.List;
import java.util.Map;

public interface RoleService extends IService<Role> {
    void assignRoleByUserId(String userId, List<String> roleIds);

    IPage<Role> getRoleListByPageAndRoleName(Page<Role> rolePage, String roleName);
}
